<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    
</head>
<body>
    <script src="/js/vue.js"></script>
    <!-- 列表框单选时，v-model绑定的时选项的值 -->
    <div id="app">
        <h3>单选</h3>
        <select v-model="fruit">
            <option disable value="">请选择您想吃的水果</option>
            <option>苹果</option>
            <option>香蕉</option>
            <option>橘子</option>
        </select>
        <p>您想吃的水果是:{{fruit}}</p>
    </div>
    <script>
        var vm=new Vue({
            el:'#app',
            data:{
                fruit:""
            }
        })
    </script>
    
</body>
</html>